/**
 * Copyright (c) 2018-2019 PoleStar Studio. All Rights Reserved. <br>
 * Use is subject to license terms.<br>
 * <p>
 * 在此处填写文件说明
 */
package edu.javaee.spring.assemble_xml;

import java.util.List;

/**
 * 填写功能简述.
 * <p>填写详细说明.<br>
 * @version v1.0
 * @author lianzuozheng
 * @date 2019-03-24 -21:10 
 */
public class Student {

    /**
     * 添加私有属性，学生名字，多本书，手机
     */
    private String name;
    private List<String> books;
    private Phone phone;

    /**
     * 1.构造注入,有参构造方法
     */


    /**
     * 2.设值注入,无参构造方法和setter方法
     */
    public Student() {
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setBooks(List<String> books) {
        this.books = books;
    }

    public void setPhone(Phone phone) {
        this.phone = phone;
    }
    
    /**
     * 重写toString方法
     */

}
